package com.jdrx.sw.sewage.beans.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * sewage_device
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "DeviceDTO", description = "设备")
public class DeviceDTO extends HeaderDTO implements Serializable {
	private static final long serialVersionUID = -6363188935176326712L;

	@ApiModelProperty(value = "主键ID,新增不传！", required = true)
    private Long id;

    @ApiModelProperty(value = "设备型号", required = true)
    private String deviceModel;

    @ApiModelProperty(value = "安装时间", required = true)
    private Date insTime;

    @ApiModelProperty(value = "设备照片", required = true)
    private String attach;

    @ApiModelProperty(value = "站点工艺单元id", required = true)
    private Long processunitId;

    @ApiModelProperty(value = "设备规格", required = true)
    private String dossierSpec;

    @ApiModelProperty(value = "设备生产厂家", required = true)
    private String deviceFactory;

    @ApiModelProperty(value = "维保周期", required = true)
    private Integer maintenanceCycle;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "站点设备id", required = true)
    private Long gatherDevId;

    @ApiModelProperty(value = "物料id", required = true)
    private Long materielId;

    @ApiModelProperty(value = "当前操作人名称", required = true)
    private String updateName;

    @ApiModelProperty(value = "当前操作人Id", required = true)
    private Long updateBy;

    @ApiModelProperty(value = "站点id", required = true)
    private Long stationId;
}